package com.thz.houserental.infrastructure.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("role")
@Schema(title = "角色表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Role {
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(title = "id")
    private String id;

    private String role;

    private String permission;
}
